﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", TypeName = "tResourceParameter")]
[XmlRoot("resourceParameter", Namespace = "http://www.omg.org/spec/BPMN/20100524/MODEL", IsNullable = false)]
public partial class ResourceParameter : BaseElement
{
    /// <remarks/>
    [XmlAttribute("name")]
    public string Name { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("type")]
    public XmlQualifiedName Type { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("isRequired")]
    public bool IsRequired { get; set; } = default!;

    /// <remarks/>
    [XmlIgnore]
    public bool IsRequiredSpecified { get; set; } = default!;
}
